package com.guangzi.service.impl;

import com.guangzi.entity.Bz;
import com.guangzi.mapper.BzDao;
import com.guangzi.service.AbstractService;
import com.guangzi.service.BzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class BzServiceImpl extends AbstractService implements BzService {

    private BzDao bzDAO;

    @Autowired
    public void setBzDAO(BzDao bzDAO) {
        super.setBaseDAO(bzDAO);
        this.bzDAO = bzDAO;
    }

    @Override
    public void updateState(Bz bz) {
        bzDAO.updateState(bz);
    }
}
